
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="js/register.js"></script>
<link type="text/css" rel="stylesheet" href="css/mycss.css"/>
<title>注册</title>

</head>

<body style="background-color:orange;">
	<a  style="display:inline;margin:0 0 0 1100px;" href="login.htm">返回登录</a>
	<h1 align="center">请输入个人信息</h1>
	<form action="register.do"  onsubmit="return checkForm()" accept-charset="utf-8">
		<table align="center">
				<tr>
					<td  class="r">用户:<input type="text" name="name"
						onblur="checkName(this.value)" /></td>
					<td width="300"><span id="name2">用户名必须为3-15位字母或数字</span></td>
				<tr>
					<td class="r">年龄:<input type="text" name="age" id="age1"
						onblur="checkAge(this.value)"></td>
					<td><span id="age2"></span></td>
				</tr>
				<tr>
					<td class="r">邮箱:<input type="text" name="email" id="email1"
						onblur="checkEmail(this.value)"></td>
					<td><span id="email2"></span></td>
				</tr>
				<tr>
					<td class="r">性别:男<input type="radio" name="sex" value="男"
						id="radio1" onclick="checkSex()">&nbsp;女<input
						type="radio" name="sex" value="女" 
						onclick="checkSex()"></input>
					</td>
					<td id="a"><span id="sex2">请选择您的性别</span></td>
				</tr>
				<tr>
					<td class="r">身高:<input type="text" name="height"
						onblur="checkHeight(this.value)" />
					</td>
					<td>cm<span id="height2"></span></td>
				</tr>
				<tr>
					<td class="r">体重:<input type="text" name="weight"
						onblur="checkWeight(this.value)" />
					</td>
					<td>kg<span id="weight2"></span></td>
				</tr>
				<tr>
					<td class="r">密码:<input type="password" id="pw1" name="password"
						onblur="checkPassword()"></td>
				</tr>
				<tr>
					<td class="r">重复密码:<input type="password" name="rpassword" id="pw2"
						onblur="checkPassword()"></td>
					<td><span id="rpassword2">请确认您的密码</span></td>
				</tr>
				<tr><td>&nbsp;</td></tr>
				<tr>
					<td class="r"><input type="submit"></td>
				</tr>
		</table>
	</form>



</body>

</html>